# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=py3-urwidtrees
pkgver=1.0.3
pkgrel=1
pkgdesc="tree widgets for urwid"
url="https://github.com/pazz/urwidtrees"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/pazz/urwidtrees/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/urwidtrees-$pkgver"
options="!check" # no upstream tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
f7d69d359ba24345a694659fd9432335679f4b505a5c0e33baf9fc0c068935148c393aff8e11cd5f2c12aa26884aa37ba86e9b3a763472e382d73dd57fd32cd6  py3-urwidtrees-1.0.3.tar.gz
"
